package com.xb.loan.usercenter.user.user.dao;


import com.xb.loan.usercenter.user.user.dao.bean.UserInfo;
import com.xb.loan.usercenter.user.user.dao.bean.UserThirdLogin;
import com.xb.loan.util.mybatis.MyBatisRepository;

import java.util.Map;

@MyBatisRepository
public interface UserThirdLoginDao {
    //int deleteByPrimaryKey(String userId,String thirdloginType,String thirduserId);

    int insert(UserThirdLogin record);

    //int insertSelective(UserThirdLogin record);

    UserThirdLogin selectByPrimaryKey(String userId, String thirdloginType, String thirduserId);

    //int updateByPrimaryKeySelective(UserThirdLogin record);

    //int updateByPrimaryKey(UserThirdLogin record);

    UserInfo login(Map<String, String> map);

    int updatePartnerIdByUserId(Map<String, String> map);
}